<template>
  <div class="header-container">
    <div class="header-content">
      <img src="../../image/bilibili.png" class="content-img" />
      <ul class="ul-text">
        <li class="li-text">
          <span class="iconfont icon-dianshiji"></span>
          <router-link to="/home">
            <span class="one">主站</span>
          </router-link>
        </li>
        <li class="li-text">
          <a href="#" class="active">首页</a>
        </li>
        <li class="li-text">
          <a href="#">排行榜</a>
        </li>
        <li class="li-text">
          <a href="#">排行榜</a>
        </li>
        <li class="li-text">
          <a href="#">WIKI</a>
        </li>
        <li class="li-text">
          <a href="#">大会员礼包</a>
        </li>
        <li class="li-text">
          <a href="#">我的</a>
        </li>
      </ul>
    </div>
    <div class="li-text-right">
      <input
        type="text"
        placeholder="搜索更多游戏&WIKI"
        style="width: 240px"
        class="tv-input"
      />
      <span class="iconfont icon-sousuo"></span>
      <img src="../../image/noface.gif" class="imgrigth" />
    </div>
  </div>
</template>

<script>
export default {
  name: "HeaderA",
};
</script>

<style scoped>
.header-container {
  display: flex;
  justify-content: space-between;
  align-content: center;
  width: 1160px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto;
  background-color: #fff;
}
.header-content {
  display: flex;
  align-items: center;
  line-height: 22px;
  font-size: 14px;
}
.ul-text {
  display: flex;
  align-items: center;
  line-height: 22px;
  font-size: 14px;
  flex-wrap: nowrap;
}
.li-text {
  display: flex;
  flex-wrap: nowrap;
}
.one {
  margin-left: 10px;
}

a {
  color: #212121;
}
.a:hover {
  color: #007aff !important;
}
.li-text {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 20px;
}
.content-img {
  width: 95px;
  height: 24px;
  margin-right: 20px;
}
.active {
  color: #007aff;
}
.imgrigth {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}
.tv-input {
  margin-top: 5px;
  border-radius: 16px;
  background-color: #f2f4f6;
  width: 200px;
  height: 32px;
  border: none;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  padding: 0 40px 0 20px;
  margin-right: 40px;
}
.icon-sousuo {
  position: absolute;
  left: 270px;
  top: 2px;
}
.li-text-right {
  display: flex;
  align-items: center;
  position: relative;
}
a:hover {
  color: #007aff;
}
</style>
